#cartwrap #navigation {
  display: flex;
  padding: 25px 10px;
}

#cartwrap #navigation a {
  color: #666;
  transition: all .4s;
}

#cartwrap #navigation i {
  font-size: 12px;
  margin-left: 5px;
  margin-right: 5px;
  line-height: 22px;
}

#cartwrap .txt {
  display: flex;
  padding: 25px 10px;
}

#cartwrap .cart {
  background: #fff;
  color: #666;
}

#cartwrap .cart table {
  border-spacing: 0;
  border-collapse: collapse;
  line-height: 24px;
}

#cartwrap .cart table thead th {
  padding: 10px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 16px;
  font-weight: 400;
  line-height: 50px;
}

#cartwrap .cart table thead th span {
  margin-left: 2px;
}

#cartwrap .cart tbody tr td {
  padding: 10px;
  border-bottom: 1px solid #f5f5f5;
  text-align: center;
}

#cartwrap .cart tbody tr td h3 {
  color: #666;
  font-size: 16px;
  font-weight: 400;
  line-height: 50px;
}

#cartwrap .cart tbody tr td:nth-of-type(1) {
  text-align: left;
  padding-left: 30px;
  color: #999;
}

#cartwrap .cart tbody tr td:nth-of-type(2) {
  text-align: left;
}

#cartwrap .cart tbody tr td .goods {
  display: flex;
  align-items: center;
}

#cartwrap .cart tbody tr td .goods img {
  width: 100px;
  height: 100px;
}

#cartwrap .cart tbody tr td .goods > div {
  width: 280px;
  font-size: 16px;
  padding-left: 10px;
}

#cartwrap .cart tbody tr td .goods > div p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus {
  position: relative;
  height: 28px;
  border: 1px solid #f5f5f5;
  padding: 0 6px;
  margin-top: 10px;
  display: inline-block;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .attrs {
  line-height: 24px;
  display: flex;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .attrs span {
  max-width: 230px;
  font-size: 14px;
  color: #999;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer {
  position: absolute;
  left: -1px;
  top: 40px;
  z-index: 10;
  width: 400px;
  border: 1px solid #27ba9b;
  box-shadow: 2px 2px 4px #e6faf6;
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  padding: 20px;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 1px solid #27ba9b;
  border-top: 1px solid #27ba9b;
  position: absolute;
  left: 12px;
  top: -8px;
  background: #fff;
  transform: scaleX(0.8) rotate(45deg);
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer .goods_skus {
  padding-left: 10px;
  padding-top: 20px;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer .goods_skus dl {
  display: flex;
  padding-bottom: 10px;
  align-items: center;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer .goods_skus dl dt {
  width: 50px;
  color: #999;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer .goods_skus dl dd {
  flex: 1;
  color: #666;
  line-height: 40px;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer .goods_skus dl dd img {
  border-color: #27ba9b;
}

#cartwrap .cart tbody tr td .goods > div .cart_skus .layer button {
  margin-left: 60px;
  border-color: #27ba9b;
  background: #27ba9b;
  color: #fff;
  width: 60px;
  height: 32px;
  font-size: 14px;
}

#cartwrap .cart tbody tr td .numbox {
  margin: 0 auto;
  width: 120px;
  display: flex;
  align-items: center;
  height: 30px;
  border: 1px solid #e4e4e4;
}

#cartwrap .cart tbody tr td .numbox span {
  width: 29px;
  line-height: 28px;
  text-align: center;
  background: #f8f8f8;
  font-size: 16px;
  color: #666;
  user-select: none;
  cursor: pointer;
}

#cartwrap .cart tbody tr td .numbox span:nth-of-type(1) {
  border-right: 1px solid #e4e4e4;
}

#cartwrap .cart tbody tr td .numbox span:nth-of-type(2) {
  border-left: 1px solid #e4e4e4;
}

#cartwrap .cart tbody tr td .numbox input {
  width: 60px;
  padding: 0 5px;
  text-align: center;
  color: #666;
  border: none;
}

#cartwrap .action {
  display: flex;
  background: #fff;
  margin-top: 20px;
  height: 80px;
  align-items: center;
  font-size: 16px;
  justify-content: space-between;
  padding: 0 30px;
}

#cartwrap .action .ckall {
  color: #999;
}

#cartwrap .action .ckall span {
  margin-left: 2px;
}

#cartwrap .action a {
  margin-left: 20px;
}

#cartwrap .action .total {
  display: flex;
  align-items: center;
}

#cartwrap .action .total .priceAll {
  font-size: 18px;
  margin-right: 20px;
  font-weight: 700;
  color: #cf4444;
}

#cartwrap .action .total button {
  border-color: #27ba9b;
  background: #27ba9b;
  color: #fff;
  width: 180px;
  height: 50px;
  font-size: 16px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

#cartwrap .shop_relevant .container {
  background: #fff;
}

#cartwrap .shop_relevant {
  min-height: 460px;
  margin-top: 20px;
}

#cartwrap .shop_relevant .head {
  height: 80px;
  line-height: 80px;
  padding: 0 20px;
}

#cartwrap .shop_relevant .head span {
  font-size: 20px;
  padding-left: 10px;
}

#cartwrap .shop_relevant .carousel {
  position: relative;
  height: 380px;
}

#cartwrap .shop_relevant .carousel ul {
  width: 100%;
  height: 100%;
}

#cartwrap .shop_relevant .carousel ul .fase {
  opacity: 1;
  z-index: 1;
}

#cartwrap .shop_relevant .carousel ul li {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  transition: opacity .5s linear;
}

#cartwrap .shop_relevant .carousel ul li .slider {
  display: flex;
  justify-content: space-around;
  padding: 0 40px;
}

#cartwrap .shop_relevant .carousel ul li .slider a {
  width: 240px;
  text-align: center;
}

#cartwrap .shop_relevant .carousel ul li .slider a img {
  padding: 20px;
  width: 230px !important;
  height: 230px !important;
}

#cartwrap .shop_relevant .carousel ul li .slider a p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#cartwrap .shop_relevant .carousel ul li .slider a p:nth-of-type(1) {
  font-size: 16px;
  color: #666;
  padding: 0 40px;
}

#cartwrap .shop_relevant .carousel ul li .slider a p:nth-of-type(2) {
  font-size: 16px;
  color: #cf4444;
  margin-top: 15px;
}

#cartwrap .shop_relevant .carousel .page {
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 2;
  width: 100%;
  text-align: center;
}

#cartwrap .shop_relevant .carousel .page .active {
  background: #27ba9b;
}

#cartwrap .shop_relevant .carousel .page span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  margin-left: 12px;
}

#cartwrap .shop_relevant .carousel .left {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 228px;
  z-index: 2;
  text-align: center;
  line-height: 44px;
  opacity: 0;
  transition: all .5s;
  top: 110px;
  opacity: 1;
  background: transparent;
  color: #ddd;
  left: 20px;
}

#cartwrap .shop_relevant .carousel .right {
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 228px;
  z-index: 2;
  text-align: center;
  line-height: 44px;
  opacity: 0;
  transition: all .5s;
  top: 110px;
  opacity: 1;
  background: transparent;
  color: #ddd;
}
